package com.hly.wms.feign;

import com.hly.wms.entity.SkuInfoEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("mall-product")
public interface ProductFeign {

    /**
     * 通过id获取一个
     */
    @RequestMapping("/product/skuinfo/getBySkuId")
    public SkuInfoEntity getBySkuId(@RequestParam Long skuId);
}
